HTML - tags - strong tag

revision:


Content

"strong" tag : defines text with strong importance< syntax some examples


"strong" tag : defines text with strong importance

top

The <strong> tag is used to define text with strong importance. The content inside is typically displayed in bold.
The <strong> tag is used to separate the text from the rest of the content. Browsers traditionally bold the text found within the <strong> tag. You can change this behavior with CSS.

Attributes : this element includes the global attributes. There are no attributes specific to the <strong> tag.


syntax

top

<strong> . . . </strong>


some examples

top

This text is important!

code:
                <p class="spec-1"><strong>This text is important!</strong></p>
            

... the most important rule, the rule you can never forget, no matter how much he cries, no matter how much he begs: never feed him after midnight.

code:
                <p class="spec-1">... the most important rule, the rule you can never forget,
                no matter how much he cries, no matter how much he begs: <strong>never 
                feed him after midnight</strong>.</p>
            

Before proceeding, make sure you put on your safety goggles.

code:
                <p class="spec-1">Before proceeding, <strong>make sure you put on your safety 
                    goggles</strong>.</p>
            

Warning: that text was serious and this text is important.

code:
                <p class="spec-1"><strong>Warning</strong>: that text was serious 
                and <strong>this text is important</strong>.</p>
            

Homework is due on April 21.

code:
                <p class="spec-1">Homework is due on <strong>April 21</strong>.</p>
            

This is just normal text. This is important. And this is even more important!.

code:
                <p class="spec-1">This is just normal text. <strong>This is important. 
                <strong>And this is even more important!</strong></strong>. </p>